]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
runDialog: Add entry to focus chain
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 29 Oct 2012 18:21:48 +0000 (19:21 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 30 Oct 2012 14:50:05 +0000 (15:50 +0100)
Currently the entry takes the intial key focus, but is not actually
part of the focus chain. Fix that, even though keynav does not work
too well for the dialog anyway, due to the entry consuming tab for
command completion.

https://bugzilla.gnome.org/show_bug.cgi?id=687127

js/ui/runDialog.js

index 3db85d838d81f903127dc3fa9e15b6d5374f2c87..2ec1deaf5fda521fc4551552413957537b61419f 100644 (file)
@@ -206,7 +206,8 @@ const RunDialog = new Lang.Class({
 
         this.contentLayout.add(label, { y_align: St.Align.START });
 
-        let entry = new St.Entry({ style_class: 'run-dialog-entry' });
+        let entry = new St.Entry({ style_class: 'run-dialog-entry',
+                                   can_focus: true });
         ShellEntry.addContextMenu(entry);
 
         entry.label_actor = label;